package com.example.androidstart.homepage.item;

import static com.example.androidstart.homepage.ItemType.BIG_IMG_TYPE;

import com.example.androidstart.homepage.ItemInfo;

public class ImageItemInfo implements ItemInfo<Integer> {

    private final int mItemImg;

    public ImageItemInfo(int itemImgUrl) {
        mItemImg = itemImgUrl;
    }

    @Override
    public Integer getItemInfo() {
        return mItemImg;
    }

    @Override
    public int getType() {
        return BIG_IMG_TYPE;
    }
}
